package com.qfedu.zf.life.service.impl;

import com.qfedu.zf.life.entity.PostPage;
import com.qfedu.zf.life.mapper.PostPageMapper;
import com.qfedu.zf.life.service.PostPageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wjw
 * @since 2024-06-20
 */
@Service
public class PostPageServiceImpl extends ServiceImpl<PostPageMapper, PostPage> implements PostPageService {

    @Autowired
    private PostPageMapper postPageMapper;

    public PostPage getPostById(Long postId) {
        return postPageMapper.selectById(postId);
    }



}
